export const single_option = {
    title: {
        // text: '折线图',
        x: 'right',
        y: '-10px',
        textStyle: {
            // width:200
            color: '#3A7BD5',
        },
        textAlign: 'center',
        subtext:'折线图',
        subtextStyle: {
            align: 'right',
            color:"#ffffff",
            fontSize:16
            // verticalAlign:'middle'
        }

    },
    backgroundColor: {
        type: 'linear',
        x: 0,
        y: 0,
        x2: 0,
        y2: 1,
        colorStops: [{
            offset: 0, color: 'rgba(70, 131, 254, 0)' // 0% 处的颜色
        }, {
            offset: 1, color: 'rgba(70, 131, 254, 0.5)' // 100% 处的颜色
        }],
        global: false // 缺省为 false
    },
    grid: {
        left: 40,
        right: 10,
        bottom: 30,
        top: 30,
    },
    xAxis: {
        type: 'category',
        data: ['1月', '2月', '3月', '4月', '5月', '6月', '7月'],
        splitLine: {
            show: false,
            lineStyle: {
                color: '#021439',
                width: 1
            }
        },
        axisLine: {
            show: true,
            lineStyle: {
                color: '#1F7EFF',
                width: 1
            }
        },
        axisLabel: {
            show: true,
            textStyle: {
                color: '#fff'
            },
            fontSize: 11,
            interval: 'auto',
            formatter: '{value}'
        },
    },
    yAxis: {
        type: 'value',
        splitLine: {
            show: false,
            lineStyle: {
                color: '#021439',
                width: 1
            }
        },
        axisLine: {
            show: true,
            lineStyle: {
                color: '#1F7EFF',
                width: 1
            }
        },
        axisLabel: {
            show: true,
            textStyle: {
                color: '#fff'
            },
            fontSize: 11,
            interval: 'auto',
            formatter: '{value}'
        },
    },
    series: [{
        data: [150, 230, 224, 218, 135, 147, 260],
        type: 'line'
    }]
};
